package com.jintoufs.domain.org;


public class Org {
    /**
     */
    private Integer id;

    /**
     * 机构名称
     */
    private String orgName;



    /**
     * 地址
     */
    private String address;

    /**
     * 机构编码
     */
    private String orgCode;

    private Integer parentId;

    private String parentIds;
    /**
     * 状态，0：停用，1启用
     */
    private Byte status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public String makeSelfAsParentIds() {
        return getParentIds() + getId() + "/";
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}